﻿using UnityEngine;
using System.Collections;

public class barrier : SummonerSpell {
	
	// Use this for initialization
	void Start () {
		initializeStuff();
		initializeSummonerSpellStuff();
		forAllies = true;
		cardName = "Barrier";
		cardDescription = "Target allied Champion is given 20 maxiumum and current health.";
	}
	
	public override void playSpell(Champion champion){
		champion.maxHealth+=20;
		champion.health+=20;
		base.playSpell(champion);
	}
	
	public override float evaluateSummonerSpell(Champion champion){
		if(champion.health <= 50)
			return 100 - champion.health;
		else
			return 0;
	}
}
